package com.zheng.hr.dao.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.zheng.common.base.BaseEntity;

import java.io.Serializable;

/**
 * <p>
 * hr_clock_records 打卡记录
 * </p>
 *
 * @author likun
 * @since 2018-04-19
 */
@TableName("hr_clock_records")
public class HrClockRecords extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
	private Integer id;
    /**
     * 用户id
     */
	@TableField("user_id")
	private Integer userId;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	@Override
	protected Serializable pkVal() {
		return id;
	}

	@Override
	public String toString() {
		return "HrClockRecords{" +
			"id=" + id +
			", userId=" + userId +
			"}";
	}
}
